<template>
    <div id="nav" class="nav">
        <router-link to="/">首页</router-link>|
        <router-link to="/notes">随笔</router-link>|
        <router-link to="/project">项目</router-link>|
        <router-link to="/message">留言</router-link>|
        <router-link to="/about">关于我</router-link>
    </div>

    <router-view />
</template>

<script setup>

</script>

<style scoped>
.nav {
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
    height: 3rem;
}
</style>